From 2b0292fee508815fe3454bb0c72dd8f47713b786 Mon Sep 17 00:00:00 2001 From: parkrrrr Date: Fri, 24 Mar 2006 22:42:50 +0000 Subject: [PATCH] Use name option for routes as well --- gpsbabel/shape.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gpsbabel/shape.c b/gpsbabel/shape.c index c999cf014..ec076070e 100644 --- a/gpsbabel/shape.c +++ b/gpsbabel/shape.c @@ -113,6 +113,7 @@ my_read(void) if (shp->nSHPType == SHPT_ARC) { int j; route_head *track_head = route_head_alloc(); + track_head->rte_name = xstrdup(name); route_add_head(track_head); for (j = 0; j < shp->nVertices; j++) { wpt = waypt_new(); -- 2.30.2